package com.hzj.service;

import com.hzj.pojo.PlatformNotice;
import com.hzj.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient(name = "PROVIDER-HOSP-8002", contextId = "HospitalService")
public interface PlatformNoticeService {

    @PostMapping("/api/hosp/hospital/plat/{page}/{limit}")
    public Result platList(@PathVariable Integer page, @PathVariable Integer limit);

    @PostMapping("/api/hosp/hospital/getPlat/{id}")
    public PlatformNotice getPlat(@PathVariable Integer id);

}
